<?php
class ForbiddenzoneController extends Yaf_Controller_Abstract{
	const NET_OK = 10;
	public function init(){
		$user = cookie::get('user');
		if(!$user){
			$this->redirect('/index/login/');
			return false;
		}
		Yaf_Loader::import('import.php');
	}
	/**
	 * 保护区首页
	 * @method indexAction
	 * @return [type]      [description]
	 * @author NewFuture
	 */
	public function indexAction(){
		$params = $_POST;
		//var_dump($params);
	}
	/**
	 * 保护区新增
	 * @method addForbiddenZoneAction
	 * @return [type]      [description]
	 * @author NewFuture
	 */
	public function addForbiddenZoneAction(){

	}
	/**
	 * 保护区修改
	 * @method addForbiddenZoneAction
	 * @return [type]      [description]
	 * @author NewFuture
	 */
	public function forbiddenZoneEditAction(){

	}
	/**
	 * 保护区详情
	 * @method forbiddenZoneDetailAction
	 * @return [type]      [description]
	 * @author NewFuture
	 */
	public function forbiddenZoneDetailAction(){
		
	}
	/**
	 * 设备网络地址新增
	 * @method addNetAddressAction
	 * @return [type]      [description]
	 * @author NewFuture
	 */
	public function addNetAddressAction(){
		// $params['category'] = 'agv';
		// $result = net::inst('autoBG')->equipTypeFind($params);
		// var_dump($result);
	}
	/**
	 * 设备型号新增
	 * @method addUnitTypeAction
	 * @return [type]      [description]
	 * @author NewFuture
	 */
	public function addUnitTypeAction(){

	}
	public function setServerAction(){
		
	}
}